﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;

namespace PoemonAdventures
{

    public class Poemon
    {
        static Random randomizer = new Random();
        public int psychic;
        public int force;
        public int str;
        public int eBa;
        Texture2D texture;

        public Poemon(Texture2D texture)
        {
            psychic = randomizer.Next(1, 5);
            str = randomizer.Next(2, 4);
            force = 3;
            this.texture = texture;
        }

        private int BaseAttack()
        {
            return randomizer.Next(50, 100) / 10;
        }

        public int NormalAttack()
        {
            return BaseAttack() * str;
        }

        public int PowerAttack()
        {
            return BaseAttack() * psychic;

        }

        public int ForceAttack()
        {
            return BaseAttack() * force;
        }
    }
}
